package com.y.mapper;

import com.y.entity.Order;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yjh
 * @since 2021-09-24
 */
@Mapper
public interface OrderMapper extends BaseMapper<Order> {
    // 查找用户订单
    List<Order> showOrderByUserID(Integer id);
    // 查看所有订单
    List<Order> showAllOrderByStatus();


}
